package com.site.wisdom_construction.entity.personnelModule;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.sql.Date;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-04-22 
 */
@ApiModel (value ="安全防护用品承诺书表实体类", description="EducationProtectiveEquipment")
public class EducationProtectiveEquipment {
	/**
	 * 安全防护用品承诺书ID
	 */
   	@ApiModelProperty(value = "安全防护用品承诺书ID", name = "id")
	private Integer id;

	/**
	 * 项目ID
	 */
   	@ApiModelProperty(value = "项目ID", name = "projectId")
	private Integer projectId;

	/**
	 * 入岗教育工种ID
	 */
   	@ApiModelProperty(value = "入岗教育工种ID", name = "educationProfessionId")
	private Integer educationProfessionId;

	/**
	 * 入岗教育工种名称
	 */
	@ApiModelProperty(value = "入岗教育工种名称", name = "educationProfessionName")
	private String educationProfessionName;

	/**
	 * 安全防护用品承诺书名称
	 */
   	@ApiModelProperty(value = "安全防护用品承诺书名称", name = "protectiveEquipmentName")
	private String protectiveEquipmentName;

	/**
	 * 安全防护用品承诺书内容
	 */
   	@ApiModelProperty(value = "安全防护用品承诺书内容", name = "protectiveEquipmentContent")
	private String protectiveEquipmentContent;

	/**
	 * 安全防护用品承诺书本人承诺内容
	 */
   	@ApiModelProperty(value = "安全防护用品承诺书本人承诺内容", name = "protectiveEquipmentPromise")
	private String protectiveEquipmentPromise;

	/**
	 * 防护用品详细
	 */
   	@ApiModelProperty(value = "防护用品详细", name = "protectiveEquipment")
	private String protectiveEquipment;

	/**
	 * 最后修改时间
	 */
   	@ApiModelProperty(value = "最后修改时间", name = "updateDate")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date updateDate;

	public EducationProtectiveEquipment(){ super(); }

	public EducationProtectiveEquipment(Integer id, Integer projectId, Integer educationProfessionId, String educationProfessionName, String protectiveEquipmentName, String protectiveEquipmentContent, String protectiveEquipmentPromise, String protectiveEquipment, Date updateDate) {
		this.id = id;
		this.projectId = projectId;
		this.educationProfessionId = educationProfessionId;
		this.educationProfessionName = educationProfessionName;
		this.protectiveEquipmentName = protectiveEquipmentName;
		this.protectiveEquipmentContent = protectiveEquipmentContent;
		this.protectiveEquipmentPromise = protectiveEquipmentPromise;
		this.protectiveEquipment = protectiveEquipment;
		this.updateDate = updateDate;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProjectId() {
		return projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public Integer getEducationProfessionId() {
		return educationProfessionId;
	}

	public void setEducationProfessionId(Integer educationProfessionId) {
		this.educationProfessionId = educationProfessionId;
	}

	public String getEducationProfessionName() {
		return educationProfessionName;
	}

	public void setEducationProfessionName(String educationProfessionName) {
		this.educationProfessionName = educationProfessionName;
	}

	public String getProtectiveEquipmentName() {
		return protectiveEquipmentName;
	}

	public void setProtectiveEquipmentName(String protectiveEquipmentName) {
		this.protectiveEquipmentName = protectiveEquipmentName;
	}

	public String getProtectiveEquipmentContent() {
		return protectiveEquipmentContent;
	}

	public void setProtectiveEquipmentContent(String protectiveEquipmentContent) {
		this.protectiveEquipmentContent = protectiveEquipmentContent;
	}

	public String getProtectiveEquipmentPromise() {
		return protectiveEquipmentPromise;
	}

	public void setProtectiveEquipmentPromise(String protectiveEquipmentPromise) {
		this.protectiveEquipmentPromise = protectiveEquipmentPromise;
	}

	public String getProtectiveEquipment() {
		return protectiveEquipment;
	}

	public void setProtectiveEquipment(String protectiveEquipment) {
		this.protectiveEquipment = protectiveEquipment;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	@Override
	public String toString() {
		return "{" +
				"id=" + id +
				", projectId=" + projectId +
				", educationProfessionId=" + educationProfessionId +
				", educationProfessionName='" + educationProfessionName + '\'' +
				", protectiveEquipmentName='" + protectiveEquipmentName + '\'' +
				", protectiveEquipmentContent='" + protectiveEquipmentContent + '\'' +
				", protectiveEquipmentPromise='" + protectiveEquipmentPromise + '\'' +
				", protectiveEquipment='" + protectiveEquipment + '\'' +
				", updateDate=" + updateDate +
				'}';
	}
}
